﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Azure.Toolkit;

namespace AzureFacebook.Domain
{
    public class CommentService : ICommentService
    {
        public void Add(Comment comment)
        {
            MessageQueueFactory msgFactory = new MessageQueueFactory();
            var _addCommentQueue = msgFactory.Create<Comment>(QueueNames.CommentsQueue);
            _addCommentQueue.AddMessage(comment);
            

        }
    }
}
